package com.example.siyun.service.impl.shouyeserviceimpl;

import com.example.siyun.mapper.shouyemapper.SysinfoMapper;
import com.example.siyun.pojo.Sysinfo;
import com.example.siyun.service.shouyeservice.SysinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Auther: 全
 * @Date: 2022/9/26 09:33
 * @Description:首页的系统信息
 */
@Service
public class SysinfoServiceImpl implements SysinfoService {
    @Autowired
    private SysinfoMapper sysinfoMapper;
    /**
     * 获取系统信息
     * @return 返回系统信息
     */
    @Transactional
    @Override
    public Sysinfo findInfo() {
        return sysinfoMapper.getxit();
    }
}
